import {DataBase} from './request'

// 退出登陆
export function _logout(){
    return DataBase({
        url:'/logout',
    })

}

// 用户歌单 playlist ordered 属性判断是否为自己创建歌单 order false为自建
export function _getUserPlaylist(uid){
    return DataBase({
        url:'/user/playlist',
        params:{
            uid
        }
    })

}

// 用户详情
export function _getUseDetail(uid){
    return DataBase({
        url:'/user/detail',
        params:{
            uid
        }
    })

}

